package com.hill;

import java.util.Arrays;
import java.util.Random;

public class ArrayClassOb {
    public static void main(String[] args) {
        Random random = new Random(47);
        Integer [] a = new Integer[random.nextInt(20)];
        System.out.println("a数组的元素个数："+ a.length);
        for (int i=0;i<a.length;i++)
            a[i]=random.nextInt(200);
        System.out.println(Arrays.toString(a));
        for(int i=1;i<10;i++){
            for (int j=1;j<=i;j++){
                System.out.print(i+"*"+j+"="+i*j+"\t");
            }
            System.out.println();
        }
    }
}
